#include <stdio.h>
int main()
{
	int k;
	scanf("%d",&k);
	int num1,num0;
	num1 = num0 = 0;
	char s[105];
	for(int i = 0;i<k;i++)
	{
		scanf(" %c",&s[i]);
		if(s[i]=='1') num1++;
		else num0++;
	}
	if(num0==num1)
	{
		printf("2\n");
		printf("%c ",s[0]);
		puts(s+1);
	}
	else
	{
		printf("1\n");
		puts(s);
	}
}
